﻿<Window x:Class="Smith.WPF.HtmlEditor.Demo.BindingTestWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:smith="clr-namespace:Smith.WPF.HtmlEditor;assembly=Smith.WPF.HtmlEditor"
        Title="Binding Test"
        Height="500"
        Width="740">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="1*" />
            <RowDefinition Height="1*" />
        </Grid.RowDefinitions>
        <smith:HtmlEditor x:Name="HtmlEditor"
                          BindingContent="{Binding Text, ElementName=TextEditor, Mode=TwoWay}" />
        <TextBox x:Name="TextEditor"
                 Grid.Row="1"
                 AcceptsReturn="True"
                 AcceptsTab="True"
                 AutoWordSelection="True"
                 Text="Smith Html Editor Binding Content Test."
                 VerticalScrollBarVisibility="Auto"
                 TextWrapping="Wrap" />
    </Grid>
</Window>
